<?php
/**
 * Created by PhpStorm.
 * User: mofeng
 * Date: 16/9/5
 * Time: 上午9:41
 */
namespace App\Api\Account\Models;

use Illuminate\Database\Eloquent\Model;

class Chat extends Model
{
    protected $table = 'chat';

    protected $fillable = [
        'user_id',
        'to_user_id',
        'un_read_count1',
        'un_read_count2',
        'last_msg',
    ];

    static $status = [
        '-100' => '审核拒绝',
        '100' => '已发起',
        '200' => '审核通过',
    ];
}